package org.zuoye.bean;

/**
 * UserLogin entity. @author MyEclipse Persistence Tools
 */

public class UserLogin implements java.io.Serializable {
	//太多项目习惯将用户表命名为user，安全性极差
	// Fields

	private Integer id;
	private String userName;
	private String userPassword;
	private String userIsAdmin;

	// Constructors

	/** default constructor */
	public UserLogin() {
	}

	/** full constructor */
	public UserLogin(Integer id, String userName, String userPassword,
			String userIsAdmin) {
		this.id = id;
		this.userName = userName;
		this.userPassword = userPassword;
		this.userIsAdmin = userIsAdmin;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUserName() {
		return this.userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getUserPassword() {
		return this.userPassword;
	}

	public void setUserPassword(String userPassword) {
		this.userPassword = userPassword;
	}

	public String getUserIsAdmin() {
		return this.userIsAdmin;
	}

	public void setUserIsAdmin(String userIsAdmin) {
		this.userIsAdmin = userIsAdmin;
	}

}